package com.yayan.xh.dao;

import java.util.List;
import java.util.Map;

import com.yayan.xh.bean.EnterDetailBean;

public interface IEnterDetailDao {
	
	/**
	 * 添加参数者详情
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean saveEnterDetail(Map<String, String> map) throws Exception;
	
	/**
	 * 手动添加参赛者详情
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean saveEnterDetailFront(Map<String, String> map) throws Exception;
	
	/**
	 * 删除参赛者详情
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean delEnterDetail(Map<String, String> map) throws Exception;
	
	/**
	 * 修改参赛者详情（状态 供订单流程使用）
	 * @param map
	 * @return
	 * @throws Exception
	 */
	boolean modifyEnterDetail(Map<String, String> map) throws Exception;
	
	/**
	 * 赛事编号查询
	 * @param map
	 * @return
	 * @throws Exception
	 */
	List<EnterDetailBean> getEnterDetailByMId(Map<String, String> map) throws Exception;
	
	/**
	 * 订单号查询
	 * @param map
	 * @return
	 * @throws Exception
	 */
	EnterDetailBean getEnterDetailByOrderId(Map<String, String> map) throws Exception;
	
	
	
}
